import request from '@/utils/request'

export function getListPage(query) {
  return request({
    url: '/basic/road/',
    method: 'get',
    params: query
  })
}

export function saveOrUpdate(param) {
  return request.post('/basic/road/', JSON.stringify(param))
}

export function deleteById(id) {
  return request({
    url: `/basic/road/${id}`,
    method: 'delete'
  })
}

